package com.gowants.pems.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.gowants.pems.mapper.PemsCityMapper;
import com.gowants.pems.mapper.PemsProvinceMapper;
import com.gowants.pems.model.PemsCity;
import com.gowants.pems.model.PemsProvince;

@Service(value = "pemsProvinceService")
public class PemsProvinceService extends NewBaseService<PemsProvince> {

	@Autowired
	private PemsProvinceMapper pemsProvinceMapper;
	@Autowired
	private PemsCityMapper pemsCityMapper;
	
	@Override
	public int save(PemsProvince record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int delete(String primaryKey) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int update(PemsProvince record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public PemsProvince selectOne(String primaryKey) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<PemsProvince> select(PemsProvince record) {
		// TODO Auto-generated method stub
		return pemsProvinceMapper.select(record);
	}

	@Override
	public int getCount(PemsProvince record) {
		// TODO Auto-generated method stub
		return 0;
	}

	public List<PemsCity> selectCity(PemsCity record) {
		// TODO Auto-generated method stub
		return pemsCityMapper.select(record);
	}

	
}
